<?php

                include "./includes/config.inc.php";
             
         $query_settings = "select * from PHPAUCTIONXL_version_1_3 where id='1'";
                             $query_settings2 =  mysql_query ($query_settings);
                                $welcome_message2 = mysql_result($query_settings2,0,"welcome_message");
                                
                                
if ( $subtabid == "welcome" ) {

if(!$_SESSION["PHPAUCTION_LOGGED_IN"]) {
          	/* user is logged in */

$tab_submenu = "<DIV class=WELCOME_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"WELCOME_BOX_OFF\" -->";
                   
$tab_submenu .= "<A href=\"\" class=\"WELCOME\" >".$welcome_message2."</A>";

$tab_submenu .= "</DIV> <!-- END WELCOME BOX ON -->";

        /*
   $tab_submenu .= "<DIV class=SMARTPHONE_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"WELCOME_BOX_OFF\" -->";
                   
$tab_submenu .= "<A href=\"view_all_live_auctions_phone.php\" class=\"SMARTPHONE\" >".$Have_A_Smartphone."</A>";

$tab_submenu .= "</DIV> <!-- END WELCOME BOX ON -->";
                                                                */
       }
   
    if($_SESSION["PHPAUCTION_LOGGED_IN"]) {
         
 $tab_submenu = "<DIV class=WELCOME_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"WELCOME_BOX_OFF\" -->";
                   
$tab_submenu .= "<A href=\"refer_a_friend_send.php\" class=\"REFERAFRIEND\" >".$Refer_A_Freind_Submenu."</A>";

$tab_submenu .= "</DIV> <!-- END WELCOME BOX ON -->";
 
 
 
        /*
   $tab_submenu .= "<DIV class=SMARTPHONE_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"WELCOME_BOX_OFF\" -->";
                   
$tab_submenu .= "<A href=\"view_all_live_auctions_phone.php\" class=\"SMARTPHONE\" >".$Have_A_Smartphone."</A>";

$tab_submenu .= "</DIV> <!-- END WELCOME BOX ON -->";
                                                                */
                                                                
     /*
$tab_submenu = "<DIV class=SUBMENU_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"SUBMENU_BOX_OFF\" -->";

$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED ><a href=logout.php class=SUBMENU >Logout</A></DIV><!-- END SUBMENU ACTIVATED -->";

                
        
$tab_submenu .= "</DIV> <!-- END SUBMENU BOX ON -->";
                    */
                    
       }
                
      
}





if ( $subtabid == "my auctions" ) {

$tab_submenu = "<DIV class=SUBMENU_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"SUBMENU_BOX_OFF\" -->";
              

        
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED >".$edit_profile_link."</DIV> <!-- END SUBMENU ACTIVATED -->";
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED >".$item_watch_link."</DIV> <!-- END SUBMENU ACTIVATED -->";
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED >".$your_bids_link."</DIV> <!-- END SUBMENU ACTIVATED -->";
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED >".$your_wins_link."</DIV> <!-- END SUBMENU ACTIVATED -->";
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED >".$your_payments_link."</DIV> <!-- END SUBMENU ACTIVATED -->";


$tab_submenu .= "</DIV> <!-- END SUBMENU BOX ON -->";

}

if ( $subtabid == "about us" ) {

$tab_submenu = "<DIV class=SUBMENU_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"SUBMENU_BOX_OFF\" -->";
//<!-- CHECK TO SEE IF LOGGED IN ---------------------------> */
        
                
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED >".$about_us_link."</DIV> <!-- END SUBMENU ACTIVATED -->";
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED >".$privacy_policy_link."</DIV> <!-- END SUBMENU ACTIVATED -->";
$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED_TERMS_AND_CONDITIONS >".$terms_and_conditions_link."</DIV> <!-- END SUBMENU ACTIVATED TERMS AND CONDITIONS --></DIV> <!-- END SUBMENU BOX ON -->";
  
}

if ( $subtabid == "logout" ) {

if($_SESSION["PHPAUCTION_LOGGED_IN"]) {
         
$tab_submenu = "<DIV class=WELCOME_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"WELCOME_BOX_OFF\" -->";
                   
$tab_submenu .= "<A href=\"refer_a_friend_send.php\" class=\"REFERAFRIEND\" >".$Refer_A_Freind_Submenu."</A>";

$tab_submenu .= "</DIV> <!-- END WELCOME BOX ON -->";
                /*
$tab_submenu .= "<DIV class=SMARTPHONE_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"WELCOME_BOX_OFF\" -->";
                   
$tab_submenu .= "<A href=\"view_all_live_auctions_phone.php\" class=\"SMARTPHONE\" >".$Have_A_Smartphone."</A>";

$tab_submenu .= "</DIV> <!-- END WELCOME BOX ON -->";  */
}

if(!$_SESSION["PHPAUCTION_LOGGED_IN"]) {
         
    $tab_submenu = "<DIV class=SUBMENU_BOX_ON > <!-- To Turn Off Header Change The \"class\" to \"SUBMENU_BOX_OFF\" -->";

$tab_submenu .= "<DIV class=SUBMENU_ACTIVATED ></DIV><!-- END SUBMENU ACTIVATED -->";

                
        
$tab_submenu .= "</DIV> <!-- END SUBMENU BOX ON -->";

}

}





?>
